package com.jn.entity;

public class EntityQuery {
	
	private String link;
	
	private String colName;
	
	private String operation;
	
	private Object val;
	
	public EntityQuery(String link, String colName, String operation, Object val ){
		this.link = link;
		this.colName = colName;
		this.operation = operation;
		this.val = val;
	}
	
	public EntityQuery(String colName, String operation, Object val){
		this.link = "and";
		this.colName = colName;
		this.operation = operation;
		this.val = val;
	}
	
	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getColName() {
		return colName;
	}

	public void setColName(String colName) {
		this.colName = colName;
	}

	public String getOperation() {
		return operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

	public Object getVal() {
		return val;
	}

	public void setVal(Object val) {
		this.val = val;
	}
	
}
